package com.sun.mapper;

import com.sun.pojo.PmsProductCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 产品分类 Mapper 接口
 * </p>
 *
 * @author 妙妙屋
 * @since 2021-12-27
 */
public interface PmsProductCategoryMapper extends BaseMapper<PmsProductCategory> {

    List<PmsProductCategory> listChildren();

    void addRelation(Map map);
}
